<ui-view>
	<header class="common_head-box">
			<div class="common_head">
				<img src="image/back.png" ng-click="backButton()" alt="">
				<span>订单详情</span>
				<div class="wddd_flaot-right wg-erji-rht" onclick="NTKF.im_openInPageChat('kf_9048_1509589308292')">
					<img src="image/wddd_mc.png">
					<!--<span></span>-->
				</div>
			</div>
	</header>
	<div class="ddxq_tk_main_box">
		<div class="ddxq_shr_dz">
			<div class="ddxq_shr_flxe">
				<span>收货人: {{addrdata.name}}</span>
				<span>{{addrdata.mobile}}</span>
			</div>
			<div>
				<span>
					收货人地址: {{addrdata.province_name}}{{addrdata.city_name}}{{addrdata.district}}{{addrdata.address}}
				</span>
			</div>
		</div>
		<section class="wddd_section-box">
			<div class="wddd_prduct_box wddd_none_border" ng-repeat="i in data.detail">
				<img ng-src="{{i.goods_img}}" alt="" />
				<div class="wddd_prdt_box">
					<h3>{{i.goods_name}}</h3>
					<h5>{{i.color_desc}}{{i.size_desc}}</h5>
					<em class="wdd_status">{{i.status_name}}</em>
					<div class="wddd_pro_post">
						<span class="wddd_rmb">￥</span><span class="wddd_price">{{i.price | number:2}}</span>
						<span class="wdd_pro_numer">×{{i.num}}</span>
					</div>
				</div>
			</div>
			<div class="wddd_applyfor_box">
					<div>
						<button class="wwd_ljfc_box" ng-click="lijizhifu($event)" ng-class="{disnone:!weifukuanbol}">立即付款</button>
						<button ng-click="quxiao($event)" ng-class="{disnone:!weifukuanbol}">取消订单</button>

						<button ng-if="data.show_return==1" ng-class="{disnone:!yfkdfhbol}" ng-click="remind()">提醒发货</button>
						<button ng-if="data.show_return==1" ng-click="shenqingtuikuan(data.platform_record_id)" ng-class="{disnone:!yfkdfhbol || data.status >= 8}">申请退款</button>

						<button ng-class="{disnone:!ysqtkbol}">已申请退款</button>

						<button ng-click="wuliu(data.express_code,data.express_no,data.express_name)" ng-class="{disnone:!yifahuobol}">查看物流</button>
						<button ng-click="shenqingtuikuan(data.platform_record_id)" ng-class="{disnone:!yifahuobol || data.status >= 8}">申请退款</button>
						<button  class="wwd_ljfc_box" ng-click="querenshouhuo($event)" ng-class="{disnone:!yifahuobol}">确认收货</button>

						<button ng-class="{disnone:!yidaohuobol}">查看物流</button>
						<button ng-click="shenqingtuikuan(data.platform_record_id)" ng-class="{disnone:!yidaohuobol}">退货</button>

						<button ng-click="shenqingtuikuan(data.platform_record_id)" ng-class="{disnone:!wanchengbol}">退货</button>
						<button ng-class="{disnone:!wanchengbol || data.oprate.allow_comment==0}" class="wwd_ljfc_box" ng-click="pingjiatiaozhuan(data.platform_record_id)">评价</button>

						<button ng-class="{disnone:!yiquxiaobol}">已取消</button>

					</div>
				</div>
		</section>
		<div class="ddxq_ly_box">
			<p class="ddxq_ly_p-hide">购买时间: {{data.is_pay_time}}</p>
			<p class="ddxq_ly_p-hide">发票信息: {{data.invoice_title}}</p>
			<p class="ddxq_ly_p-hide">留言: {{data.buy_remark}}</p>
		</div>
		<div id="zfbtn"></div>
		<div class="gwc_zzc_queren disnone">
			<div class="gwc_zzc_box">
				<div class="gwc_zzc_sc">
					真的要取消这个订单吗？
				</div>
				<div class="gwc_zzc_btn_box">
					<button ng-click="tfselect($event)">取消</button>
					<button ng-click="tfselect($event)" class="gwc_zzc_confirm">确认</button>
				</div>
			</div>
		</div>
	</div>
</ui-view>
